﻿@model List<CMP.ERP.Model.Stock>
@{
    Layout = null;
}
@Html.Action("Account_Show", "Account");
<div class="content">
    <div class="right" id="mainFrame">
        <div class="right_cont">
            <div class="header">
                <div class="header-right">
                </div>
            </div>    
            <div id="middle">
                <div id="middle">
                    <div class="Switch"></div>
                    <script type="text/javascript">
                        $(document).ready(function (e) {
                            $(".Switch").click(function () {
                                $(".left").toggle();
                            });
                        });
                    </script>
                    <div class="right" id="mainFrame">
                        <div class="right_cont">
                            <ul class="breadcrumb">
                                当前位置：
                                <a href="/Home/Index">首页</a>
                                <span class="divider">/</span>
                                已达警戒线的库存
                            </ul>
                            <div class="title_right"><strong>已达警戒线的库存</strong></div>
                            <div style="width:100%; margin:auto">
                                
                                <div style="margin-top:20px;">
                                    <table class="table  table-hover table-bordered table-striped">
                                        <thead>
                                            <tr>
                                                <th>库存编号</th>
                                                <th>商品名称</th>
                                                <th>仓库编号</th>
                                                <th>库存数量</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            @foreach (var i in Model)
                                            {
                                                <tr>
                                                    <td>@i.Stock_Id</td>
                                                    <td>@i.Commodity_Name</td>
                                                    <td>@i.WareHose_Name</td>
                                                    <td>@i.Stock_Num</td>
                                                    </tr>
                                            }
                                        </tbody>
                                    </table>
                                </div>
                                <button type="button" class="btn btn-default" onclick="add()"><span class="icon-inbox"></span>去采购补充库存</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script src="~/Scripts/lib/bootstrap/js/bootstrap.js"></script>
    <script type="text/javascript">
        $("[rel=tooltip]").tooltip();
        $(function () {
            $('.demo-cancel-click').click(function () { return false; });
        });
        function fun() {
            location.href = '/Home/Index';
        }
        function add() {
            location.href = '/Procurement/Procurement_Show';
        }
    </script>
